package com.ubi.core.base;

/**
 * Created by admin on 16-5-7.
 */
public class BasePageRequest {

    protected int size = 10;

    protected int page = 1;

    public int getIndex() {

        return (page - 1) * size;
    }

    public int getSize() {

        return size;
    }

    public void setSize(int size) {

        this.size = size;
    }

    public int getPage() {

        return page;
    }

    public void setPage(int page) {

        this.page = page;
    }
}
